﻿#include "CDevDataCam.h"
#include "CHeader.h"
CDevDataCam::CDevDataCam()
{
	m_sCamerGuid = "";					 //云台Guid
	m_bInit = false;                       //云台设备是否已经初始化
	m_bLogin = false;                      //云台设备是否连接
	m_bCheckTemp = false;
	m_sCamerName = "";					 //云台名称
	m_sCamerType = "";					 //云台类型
	m_sIRCamerCode = "";				 //红外相机类型编码
	m_sImageCamerCode = "";				 //图像相机类型编码
	m_sAudioDeviceCode = "";			 //语音设备类型编码
	m_sCamerIp = "";                      //云台ip
	m_nCamerPort = 0;                      //云台端口号
	m_sUserName = "";                    //用户名
	m_sPassWord = "";                    //密码
	m_sRecordPath = "";					 //手动录像拍照保存的路径
	m_sCamerObsConfig = "";				 //云台避障配置
	m_bIsOpenTalkBack = false;				 //是否打开语音对讲
	SCamerInfo cCamerInfo;
	cCamerInfo.m_nDevTypeCode = enCamer;
	m_cMapCamerInfo.insert(enCamer, cCamerInfo);
	SCamerInfo cIRInfo;
	cIRInfo.m_nDevTypeCode = enIR;
	m_cMapCamerInfo.insert(enIR, cIRInfo);
	SCamerInfo cVoiceInfo;
	cVoiceInfo.m_nDevTypeCode = enVoice;
	m_cMapCamerInfo.insert(enVoice, cVoiceInfo);
	m_nBelogn = 0;
	m_nRollerNum = 6;
	m_sRollerDesc = "";
	//addwxy
	m_dAtcTempMax = 0;       //最高温度
	m_dAtcTempMin = 0;       //最低温度
	m_dAtcTempAverage = 0;   //平均温度
	m_dAtcDecibel = 35;
	m_sRtspUrlIr = "rtsp://10.88.13.11:554/easy.mp4";
	m_sRtspUrlImg = "rtsp://10.88.13.11:554/easy.mp4";
	m_dLeftRectifyValue = 0;//左偏值
	m_dRightRectifyValue = 0;//右偏值
	m_nRectifySetValue = 0;
	m_nRectifySetValueTwo = 0;
	m_nDrawType = 0;//默认是机器人
}

CDevDataCam::~CDevDataCam()
{
}
